package Chapter05.Automobilemanagement;

public class RentalHistory {
    private String plate;//车牌
    private String state;//状态
    private int  day;//天数
    private String name;

    public RentalHistory(String plate, String state) {
        this.plate = plate;
        this.state = state;
    }

    public RentalHistory() {
    }

    public String getPlate() {
        return plate;
    }

    public void setPlate(String plate) {
        this.plate = plate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public RentalHistory(String plate, String state, int day, String name) {
        this.plate = plate;
        this.state = state;
        this.day = day;
        this.name = name;
    }
}
